package com.yq.cp.mapper.yw;

import com.yq.cp.entity.permission.User;
import com.yq.cp.entity.yw.YwZbglGlry;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 运维-值班管理-详情_关联人员 Mapper 接口
 * </p>
 *
 * @author zh
 * @since 2024-09-07
 */
public interface YwZbglGlryMapper extends BaseMapper<YwZbglGlry> {

    @Delete("DELETE FROM t_yw_zbgl_glry WHERE gl_id=#{glId}")
    Long sc(Long glId);

    List<YwZbglGlry> all(@Param("glId") Long glId,@Param("type")  Integer type,@Param("fl")  Integer fl);
    List<User> cxdqzbry(@Param("sszdId") Long sszdId,@Param("type") Integer type,@Param("fl") Integer fl);
    List<User> cxzbry(@Param("gdId") Long gdId);
}
